automating the deployment of infrastructure using terraform